package com.tuocent.dagv2.service;

import com.tuocent.dagv2.common.AjaxResult;
import com.tuocent.dagv2.entity.LoginLogs;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpSession;
import org.springframework.ui.Model;

import java.util.Map;

/**
 * <p>
 * 用户登录LOG 服务类
 * </p>
 *
 * @author Vincent
 * @since 2025-07-22
 */
public interface ILoginLogsService extends IService<LoginLogs> {

    void loginLog(HttpServletRequest request, String account, String info, String access);

    String loginLogInfo(Model model);

    AjaxResult getLoginLogData(HttpSession session, Map<String, Object> params);
}
